﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Main.master" AutoEventWireup="true" CodeFile="EditDistances.aspx.cs" Inherits="Pages_EditDistances" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
	<div>
		<asp:Repeater ID="rpt" runat="server">
			<ItemTemplate>
				<asp:Label ID="lblStationName" runat="server" Text='<%# Eval("Station_name") %>' />
				<asp:TextBox ID="tbDistance" runat="server" Text='<%# Eval("Distance") %>' Width="30%" />
				<asp:HiddenField ID="hfID" runat="server" Visible="false" Value='<%# Eval("Id") %>' />
				<br />
			</ItemTemplate>
		</asp:Repeater>
		<asp:Button ID="btnSaveDistances" Text="Сохранить" runat="server" OnClick="btnSaveDistances_Click" />
		<asp:Button ID="btnCancel" Text="Отменить" runat="server" OnClick="btnCancel_Click" />
	</div>
</asp:Content>

